package scoder;

import scoder.pizza.Pizza;
import scoder.store.FirstPizzaStore;
import scoder.store.PizzaStore;
import scoder.store.SecondPizzaStore;

public class Test {
    public static void main(String[] args) {
        PizzaStore store = new FirstPizzaStore();
        Pizza pizza = store.orderPizza("Anhui");
        System.out.println(pizza);
        System.out.println("****************************************");
        pizza = store.orderPizza("other");
        System.out.println(pizza);
        System.out.println("****************************************");
        store = new SecondPizzaStore();
        pizza = store.orderPizza("Henan");
        System.out.println(pizza);
    }
}
